home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / SPAWNO41.ARJ / SWAPLIST.ASM < prev    next >
Assembly Source File  |  1991-11-15  |  1KB  |  55 lines

  1. IFNDEF __TPINC                ; under TPas, gets included by SWAP_EMS.ASM
  2.     NAME    swaplist
  3.     TITLE    Swap-device list
  4.     PAGE    60,132
  5.  
  6. ;-----------------------------------------------------------
  7. ; (c) Copyright 1991 Ralf Brown     All Rights Reserved
  8. ; This file may be redistributed as a part of the complete SPAWNO package,
  9. ; under its distribution conditions.
  10. ;
  11. ;  SPAWNO v4.00
  12. ;    Overlaying spawnv()
  13. ;
  14. ;  File: SWAPLIST.ASM    provide a list of pointers to the swap-device structures
  15. ;
  16. ;-----------------------------------------------------------
  17.  
  18.     INCLUDE RULES.ASI
  19.  
  20.     Header@
  21. ENDIF ;ndef __TPINC
  22.  
  23. ;-----------------------------------------------------------
  24. ; initialized data
  25.  
  26. JSeg@
  27.  
  28. IFNDEF __TPINC
  29. extrn __SPAWNO_FUNCS_XMS:WORD
  30. extrn __SPAWNO_FUNCS_EXT:WORD
  31. extrn __SPAWNO_FUNCS_DISK:WORD
  32. extrn __SPAWNO_FUNCS_EMS:WORD
  33. ENDIF
  34.  
  35. ;
  36. ; list the swapping methods in the order in which they are to be tried
  37. ; terminate the list with a zero word
  38. ;
  39. public@ ___SPAWNO_PROCS
  40. ___SPAWNO_PROCS label word
  41.     dw    offset DGROUP:__SPAWNO_FUNCS_XMS
  42.     dw    offset DGROUP:__SPAWNO_FUNCS_EMS
  43. IFNDEF RBcomm
  44.     dw    offset DGROUP:__SPAWNO_FUNCS_EXT
  45. ENDIF
  46.     dw    offset DGROUP:__SPAWNO_FUNCS_DISK
  47.     dw    0
  48.  
  49. JSegEnd@
  50.  
  51. IFNDEF __TPINC
  52.     NOWARN OPI
  53.     END
  54. ENDIF ;ndef __TPINC
  55.